package com.beten.ui.main;

import com.beten.demo.MainActivity;
import com.beten.demo.R;
import com.beten.ui.main.city.CityAdapter;
import com.beten.ui.main.city.CityInfo;
import com.beten.ui.util.BtGallery;

public class CityView extends BaseView{

	CityAdapter adapter;
	BtGallery gallery;
	public CityView(MainActivity activity) {
		super(activity);
		gallery=(BtGallery) activity.findViewById(R.id.city_gallery);
		adapter=new CityAdapter(mContext);
		
		 
	}

	@Override
	protected void OnViewInit() {
		for(int i=0;i<4;i++)
		{
			adapter.mData.add(new CityInfo());
		}
		gallery.setAdapter(adapter);
		
	}

}
